<?php $this->placeholder('optionsHeadline')->set($this->getTranslation('My Content'));

if ($this->pages) {
    echo $this->renderText('The following pages are the pages that you have recently created.', 'p class="padding-10"');?>
    <ul class="padding-10"><?php
    foreach ($this->pages as $page) {
        if (isset($page->label) && !empty($page->label)) {
            $label = $page->label;
        } else {
            $label = $page->name;
        } ?>
        <li class="page">
            <?php echo $this->link($label, '/admin/page/edit/id/' . $page->id, 'page_white_text.png');?>
        </li><?php
    } ?>
    </ul><?php
}

echo $this->renderText('These are the modules that you are working with.', 'p class="padding-10"');
echo $this->render('./module/partials/my-modules.phtml');

$mdlPage = new Model_Page();
$list = $this->renderPublishedPagesList();
if ($list != null) {
    echo $this->renderText('These pages have not been published yet.', 'p class="padding-10"');
    echo $list;
}